package com.yugao.fintech.libra.model.vo.user;

import com.yugao.fintech.libra.common.constants.ValidationCons;
import com.yugao.fintech.libra.model.vo.dept.DeptResp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 用户详细信息

 */
@Getter
@Setter
@ToString
public class UserDetailsResp extends UserResp {

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    @Schema(description = "用户账号")
    private String userName;

    private List<DeptResp> deptList;
}
